<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@include file="/common/common.jspf" %>
<script type="text/javascript" src="${ctx}/js/qc/un/un_edit.js">
</script>
<style type="text/css">
.col-sm-3 {
	width: 15%;
	float: left;
}

.col-sm-9 {
	width: 85%;
	float: left;
}
label[class^="btn btn-default"]{
	margin-top: -4px;
}
</style>
</head>
<body>
	<div class="l_err" style="width: 100%; margin-top: 2px;"></div>
	<form id="form" name="form" class="form-horizontal" method="post"
		  action="${ctx}/un/editUn.shtml">
		<input type="hidden" class="form-control checkacc" value="${un.id}"
			   name="UnqualifiedFormMap.id" id="id">
		<section class="panel panel-default">
			<div class="panel-body">
			</div>
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">不合格产品申请编号</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkabh"
						   placeholder="" name="UnqualifiedFormMap.code" id="code" value="${un.code}">
				</div>
			</div>
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">产品名称</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkName"
						   placeholder="" name="UnqualifiedFormMap.product" id="product" value="${un.product}">
				</div>
			</div>
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">不合格项目</label>
				<div class="col-sm-9">
					<div class="input-group">
						<input type="text" class="form-control" placeholder=""
							   name="UnqualifiedFormMap.unproject" id="unproject" value="${un.unproject}">
						<span class="input-group-btn">
						<button class="btn btn-info" id="workorder" type="button"
								style="height: 34px;"
								onclick="getNcCodeGroup('nc_code_group_no','nc_code_group_no');">
							<span class="glyphicon glyphicon-search"></span>
						</button>
					</span>
					</div>
				</div>
			</div>


			<div class="form-group">
				<label class="col-sm-3 control-label">不合格数量</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkName"
						   placeholder="" name="UnqualifiedFormMap.number" id="number" value="${un.number}">
				</div>
			</div>

			<div class="form-group">
				<label class="col-sm-3 control-label">加工时间</label>
				<div class="col-sm-9">
					<input type="date" class="form-control"
						   name="UnqualifiedFormMap.prdate"
						   id="prdate" value="${un.prdate}">
				</div>
			</div>

			<div class="form-group">
				<label class="col-sm-3 control-label">申请人</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkName"
						   placeholder="" name="UnqualifiedFormMap.proposer" id="proposer" value="${un.proposer}">
				</div>
			</div>

			<div class="form-group">
				<label class="col-sm-3 control-label">申请时间</label>
				<div class="col-sm-9">
					<input type="date" class="form-control"
						   name="UnqualifiedFormMap.applytime"
						   id="applytime" value="${un.applytime}" >
				</div>
			</div>

			</div>
			<footer class="panel-footer text-right bg-light lter">
				<button type="submit" class="btn btn-success btn-s-xs">提交</button>
			</footer>
		</section>
	</form>
</body>
</html>